﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace File_Manager.Controllers
{
    public class HomeController : Controller
    {
        [Authorize]
        public ActionResult Index(string msn)
        {
            ViewBag.Message = msn;

            return View();
        }

        [Authorize]
        public ActionResult About()
        {
            return View();
        }

        [Authorize(Roles = "Admin, Guest_C, Guest_H, Guest_I")]
        public ActionResult WebFileManager()
        {
            return View();
        }
    }
}
